'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
    async index() {
        this.app.logger.warn('测试app日志一下');
        this.ctx.logger.warn('测试context日志一下');
        this.ctx.body = 'hi, egg,hihi';
    }
}

module.exports = HomeController;
